package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UserHelpWork implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 助力工作单id
     *
     * @mbg.generated
     */
    private Integer helpWorkId;

    /**
     * 用户id
     *
     * @mbg.generated
     */
    private Integer userId;

    /**
     * 用户头像
     *
     * @mbg.generated
     */
    private String userHeadImg;

    /**
     * 用户名称
     *
     * @mbg.generated
     */
    private String userName;

    /**
     * 助力用户砍到的价格 
     *
     * @mbg.generated
     */
    private BigDecimal userCutPrice;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getHelpWorkId() {
        return helpWorkId;
    }

    public void setHelpWorkId(Integer helpWorkId) {
        this.helpWorkId = helpWorkId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserHeadImg() {
        return userHeadImg;
    }

    public void setUserHeadImg(String userHeadImg) {
        this.userHeadImg = userHeadImg;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public BigDecimal getUserCutPrice() {
        return userCutPrice;
    }

    public void setUserCutPrice(BigDecimal userCutPrice) {
        this.userCutPrice = userCutPrice;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", helpWorkId=").append(helpWorkId);
        sb.append(", userId=").append(userId);
        sb.append(", userHeadImg=").append(userHeadImg);
        sb.append(", userName=").append(userName);
        sb.append(", userCutPrice=").append(userCutPrice);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}